//
//  DKOpenGLVideoView.h
//  DKShortVideo
//
//  Created by Keer_LGQ on 2018/4/1.
//  Copyright © 2018年 DK. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface DKOpenGLPlayerView : UIView
@property (nonatomic ,copy) NSString *videoUrl;
@property (nonatomic ,assign) BOOL isFilter;

@property (nonatomic, copy) void(^playbackReachedEndBlock)(void);

- (instancetype)initWithFrame:(CGRect)frame autoPlay:(BOOL)autoPlay;

- (BOOL)play;

- (void)stop;

- (void)pause;

- (BOOL)isPlaying;


@end
